package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author : [dengbo]
 * @className : ActivityTopRecord
 * @description : [用户活动置顶表]
 * @createTime : [2022/9/28 10:05]
 */
@Data
@Document(collection = "user_activity_top_record")
public class UserActivityTopRecord  extends EntityBase {
    private Integer priority = 0;
    private String activityId;
    @Indexed
    private String userId;
    private Boolean onTop;
}
